package com.lsc.www.day09.hm;

import java.util.Scanner;

public class h10 {

    public static void main(String[] args) {
        System.out.println("输入数字：");
        Scanner sc = new Scanner(System.in);
        int month = sc.nextInt();  // 月份

        switch (month) {

            case 1:
                System.out.println("一");
                break;
            case 2:
                System.out.println("二");
                break;
            case 3:
                System.out.println("三");
                break;
            case 4:
                System.out.println("四");
                break;
            case 5:
                System.out.println("五");
                break;
            case 6:
                System.out.println("六");
                break;
            case 7:
                System.out.println("七");
                break;
            case 8:
                System.out.println("八");
                break;
            case 9:
                System.out.println("九");
                break;
            case 10:
                System.out.println("十");
                break;
            case 11:
                System.out.println("十一");
                break;
            case 12:
                System.out.println("十二");
                break;
            default:
                System.out.println("请重新输入：");
                break;
        }
    }
}


